package test05;

class ClassA {
    public ClassA() {
        System.out.println("ClassA()");
    }
}

class ClassB {
    public ClassB() {
        System.out.println("ClassB()");
    }
}

class ClassC {
    ClassA a = new ClassA();
    ClassB b;

    public ClassC() {
        System.out.println("ClassC()");
        b = new ClassB();
    }
}

public class TestConstructor {
    public static void main(String args[]) {
        ClassC cc = new ClassC();
    }
}